.class public Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;
.super Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;
.source "CleanResultCmsAdapter.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter<",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# instance fields
.field protected k:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;",
            ">;"
        }
    .end annotation
.end field

.field private l:Z

.field private m:Ljava/lang/Runnable;

.field private n:Landroid/app/Activity;

.field private o:J


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;-><init>(Landroid/content/Context;)V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->k:Ljava/util/ArrayList;

    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->l:Z

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->n:Landroid/app/Activity;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;)Ljava/lang/Runnable;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->m:Ljava/lang/Runnable;

    return-object p0
.end method

.method private a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
    .locals 5

    .line 4
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const/4 v1, 0x0

    .line 6
    invoke-virtual {v0, v1}, Landroid/view/View;->setPivotY(F)V

    const/4 v1, 0x6

    new-array v1, v1, [F

    .line 7
    fill-array-data v1, :array_0

    const-string v2, "rotationX"

    invoke-static {v0, v2, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    .line 8
    new-instance v2, Landroid/animation/AnimatorSet;

    invoke-direct {v2}, Landroid/animation/AnimatorSet;-><init>()V

    const-wide/16 v3, 0x2bc

    .line 9
    invoke-virtual {v1, v3, v4}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    const/4 v3, 0x1

    new-array v3, v3, [Landroid/animation/Animator;

    const/4 v4, 0x0

    aput-object v1, v3, v4

    .line 10
    invoke-virtual {v2, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 11
    new-instance v1, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter$b;

    invoke-direct {v1, p0, v2, p1, v0}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter$b;-><init>(Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;Landroid/animation/AnimatorSet;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroid/view/View;)V

    invoke-virtual {v2, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 12
    invoke-virtual {v2}, Landroid/animation/AnimatorSet;->start()V

    return-void

    :array_0
    .array-data 4
        0x42b40000    # 90.0f
        -0x3d4c0000    # -90.0f
        0x42200000    # 40.0f
        -0x3e600000    # -20.0f
        0x41200000    # 10.0f
        0x0
    .end array-data
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->l:Z

    return p1
.end method


# virtual methods
.method public a(Landroid/view/View;Ljava/lang/String;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 2

    .line 13
    new-instance v0, Lcom/estrongs/android/pop/app/cleaner/viewholder/CleanResultCmsCardViewHolder;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->n:Landroid/app/Activity;

    invoke-direct {v0, v1, p1, p2}, Lcom/estrongs/android/pop/app/cleaner/viewholder/CleanResultCmsCardViewHolder;-><init>(Landroid/content/Context;Landroid/view/View;Ljava/lang/String;)V

    return-object v0
.end method

.method public a(J)V
    .locals 0

    .line 3
    iput-wide p1, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->o:J

    return-void
.end method

.method public b()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->b()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->l:Z

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    :cond_0
    return-void
.end method

.method public d()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    return-object v0
.end method

.method public getItemCount()I
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->g()I

    move-result v0

    return v0
.end method

.method public getItemViewType(I)I
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->d(I)I

    move-result p1

    return p1
.end method

.method public h()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->h()V

    return-void
.end method

.method public k()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->o:J

    return-wide v0
.end method

.method public onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V

    .line 2
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getWidth()I

    return-void
.end method

.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 2

    .line 1
    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->getItemViewType(I)I

    move-result v0

    const/16 v1, -0x3e8

    if-ne v0, v1, :cond_0

    .line 2
    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const/16 p2, 0x8

    invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    .line 3
    :cond_0
    instance-of v0, p1, Lcom/estrongs/android/pop/app/cleaner/viewholder/CmsCardViewHolder;

    if-eqz v0, :cond_2

    .line 4
    move-object v0, p1

    check-cast v0, Lcom/estrongs/android/pop/app/cleaner/viewholder/CmsCardViewHolder;

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/cleaner/viewholder/CmsCardViewHolder;->d()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/cleaner/viewholder/CmsCardViewHolder;->e()Z

    move-result v1

    if-nez v1, :cond_3

    .line 7
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Z

    const/4 p1, 0x1

    .line 8
    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/cleaner/viewholder/CmsCardViewHolder;->a(Z)V

    goto :goto_0

    .line 9
    :cond_1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Z

    goto :goto_0

    .line 10
    :cond_2
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Z

    :cond_3
    :goto_0
    return-void
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 1

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->a(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object p1

    if-nez p1, :cond_0

    .line 2
    new-instance p1, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter$a;

    new-instance p2, Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->n:Landroid/app/Activity;

    invoke-direct {p2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    invoke-direct {p1, p0, p2}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter$a;-><init>(Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;Landroid/view/View;)V

    :cond_0
    return-object p1
.end method

.method public onViewAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onViewAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->l:Z

    if-eqz v0, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    return-void
.end method

.method public onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    return-void
.end method
